package com.qf.contract.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data

public class FAnnouncementManagementQo {

    /**
     * 公告id主键
     */
    @TableId(value = "announcement_id", type = IdType.INPUT)
    @ApiModelProperty(value = "公告id主键")
    private Integer announcementId;
    /**
     * 公告类型id主键
     */
    @TableId(value = "announcement_type_of_contract_id", type = IdType.INPUT)
    @ApiModelProperty(value = "公告类型id主键")
    private Integer announcementTypeOfContractId;

    /**
     * 公告标题
     */
    @TableField(value = "announcement_title")
    @ApiModelProperty(value = "公告标题")
    private String announcementTitle;

    /**
     * 公告载要
     */
    @TableField(value = "announcement_summary")
    @ApiModelProperty(value = "公告载要")
    private String announcementSummary;

    /**
     * 公告标签，外键
     */
    @TableField(value = "announcement_label")
    @ApiModelProperty(value = "公告标签名")
    private Integer announcementLabel;

    /**
     * 公告优先级,默认5
     */
    @TableField(value = "announcement_priority")
    @ApiModelProperty(value = "公告优先级,默认5")
    private Integer announcementPriority;

//    /**
//     * 公告发布日期
//     */
//    @TableField(value = "announcement_star_date")
//    @ApiModelProperty(value = "公告发布日期")
//    private Date announcementStarDate;


    /**
     * 员工表外键
     */
    @TableField(value = "announcement_publisher")
    @ApiModelProperty(value = "员工表外键 员工id")
    private Integer announcementPublisher;

    /**
     * 正文
     */
    @TableField(value = "announcement_text")
    @ApiModelProperty(value = "正文")
    private String announcementText;

    /**
     * 附件
     */
    @TableField(value = "announcement_contract")
    @ApiModelProperty(value = "附件")
    private String announcementContract;

    /**
     * 公告状态0启用1禁用
     */
    @TableField(value = "announcement_status")
    @ApiModelProperty(value = "公告状态0启用1禁用")
    private Integer announcementStatus;
}
